/**
 * Created by saber on 15/8/15.
 */

wcApp.factory('Weather', ['$resource', function ($resource) {

    var targetBase = 'http://public.backend.wc.isues.net/weather/get';

    var resource = $resource(targetBase, {}, {

        list: {
            method: 'GET',
            url: targetBase
        }
    });

    return resource;
}]);